package cn.glutnn.subject.domain.convert;

import cn.glutnn.subject.domain.enyity.SubjectInfoBO;
import cn.glutnn.subject.domain.enyity.SubjectOptionBO;
import cn.glutnn.subject.infra.basic.entity.SubjectInfo;
import org.mapstruct.Mapper;

import java.util.List;

/**
 * Author:   msh
 * Date:     2024/11/26 下午7:17
 * Description:
 */

@Mapper
public interface SubjectInfoConverter {
    SubjectInfoConverter INSTANCE = org.mapstruct.factory.Mappers.getMapper(SubjectInfoConverter.class);

    SubjectInfo convertBoToInfo(SubjectInfoBO subjectInfoBO);

    SubjectInfoBO convertInfoToBo(SubjectInfo subjectInfo);

    SubjectInfoBO convertInfoAndOptionToBo(SubjectInfo subjectInfo, SubjectOptionBO subjectOptionBO);
}
